package com.loong.system.model;

import com.loong.common.mybatis.entity.BaseEntity;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "system_configure")
public class SystemConfigure extends BaseEntity {
    /**
     * 位置id
     */
    @Column(name = "position_id")
    private Long positionId;

    /**
     * 位置code
     */
    @Column(name = "position_code")
    private String positionCode;
    /**
     * 配置名称
     */
    /**
     * 配置名称
     */
    @Column(name = "config_name")
    private String configName;

    /**
     * 配置类型
     */
    @Column(name = "config_type")
    private String configType;

    /**
     * 配置key
     */
    @Column(name = "config_key")
    private String configKey;

    /**
     * 动作类型
     */
    @Column(name = "action_type")
    private Integer actionType;

    /**
     * 动作标题
     */
    @Column(name = "action_title")
    private String actionTitle;

    /**
     * 配置图片
     */
    @Column(name = "config_image")
    private String configImage;

    /**
     * 开始时间
     */
    @Column(name = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @Column(name = "end_time")
    private Date endTime;

    /**
     * 动作内容
     */
    @Column(name = "action_content")
    private String actionContent;

    /**
     * 配置内容
     */
    @Column(name = "config_content")
    private String configContent;
    /**
     * 启用状态
     */
    @Column(name="config_status")
    private Boolean configStatus;

    /**
     * 排序位置
     */
    private Integer sort;
}
